<?php

?>

<div class="page page-levpays-index">

    <div class="page-content appbg">
        <div class="page-content-inner" style="max-width: 660px">
            <div class="list-block cards-box">
                <?php foreach ($goodses as $v) : ?>
                    <?php $name1 = Lev::arrv($v['scoretype'], $scoreTypes);?>
                    <?php $price = floatval(Lev::formatMoney($v['price'])).'<span class="scale7 inblk">元</span>';?>
                    <div class="card">
                        <a class="goods-box is_ajax_a" href="<?=\lev\helpers\UrlHelper::payTrade($v['id'])?>">
                            <iconi><?=\lev\helpers\ScoreHelper::svgScoreIcon($v['scoretype'])?></iconi>
                            <span><?=$name1?></span>
                            <num><?=Lev::formatNumber($v['scoreNum'])?></num>
                        </a>
                        <a class="money-box">
                            <?=$price?>
                        </a>
                    </div>
                <?php endforeach;?>
            </div>
        </div>
    </div>

    <div class="navbar navbar-bgcolor-red">
        <div class="navbar-inner">
            <div class="left">
                <a class="link icon-only" href="javascript:window.history.back();">
                    <svg class="icon"><use xlink:href="#fa-back"></use></svg>
                </a>
                <a class="link" href="<?php echo Lev::toReRoute(['/'])?>">
                    <svg class="icon"><use xlink:href="#fa-home"></use></svg>
                </a>
            </div>
            <div class="title nowrap"><?php echo Lev::$app['title']?></div>
            <div class="right">
                <?php echo Lev::actionObjectMethodIden('levsign', 'modules\levsign\levsignHelper', [], 'signNavbarBtn')?>
                <a class="link icon-only <?=Lev::$app['uid'] <1 ? 'openLoginBtn' : 'is_ajax_a" href="'.Lev::toReRoute(['my', 'id'=>'levpays'])?>">
                    <img class="date bradius lazy" data-src="<?php echo \lev\helpers\UserHelper::avatar()?>">
                    <?php echo Lev::$app['username']?>
                </a>
            </div>

        </div>

    </div>

    <?php Lev::toolbar();?>

</div>

